import pygame

class FrameTime(object):

  clock = pygame.time.Clock()
  milliseconds = 0
  seconds = 0

  @classmethod
  def update(cls):
    cls.milliseconds = cls.clock.tick()
    cls.seconds = cls.milliseconds / 1000.0
